<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>数据类型</title>
	</head>
	<body>
		<h3>数组，Boolean型</h3>
		<script type="text/javascript">
			var str = "字符串";
			var i = 666;
			var boolean0 = true;
			console.log(str);
			console.log(i);
			console.log(boolean0);
			var hobby = ['唱','跳','rap'];
			console.log(hobby);//
			console.log(hobby[0]);//第一个元素
			console.log(hobby[hobby.length-1]);//最后一个元素
			
		</script>
	</body>
</html>
